package com.tangguo.vshop.domain;

import java.util.List;

import org.springframework.data.mongodb.core.mapping.DBRef;

/**
 * 客户
 * @author doonly
 */
public class Customer extends BaseEntity{
	@DBRef private Mainbody mainbody;
	private String helpcode;
	private String name;
	private String sid;//时空id
	private String linkman;//联系人
	private String tel;//联系电话
	private List<String> businessScope;//经营范围
	private List<String> forbidArea;//禁销区域
	private String category;//客户类别
	private String province;//省 
	private String city;//市
	private String town;//县
	private String credit;//欠款额度
	
	
	public String getHelpcode() {
		return helpcode;
	}

	public void setHelpcode(String helpcode) {
		this.helpcode = helpcode;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Mainbody getMainbody() {
		return mainbody;
	}

	public void setMainbody(Mainbody mainbody) {
		this.mainbody = mainbody;
	}

	public String getSid() {
		return sid;
	}

	public void setSid(String sid) {
		this.sid = sid;
	}

	public String getLinkman() {
		return linkman;
	}

	public void setLinkman(String linkman) {
		this.linkman = linkman;
	}

	public String getTel() {
		return tel;
	}

	public void setTel(String tel) {
		this.tel = tel;
	}

	public List<String> getBusinessScope() {
		return businessScope;
	}

	public void setBusinessScope(List<String> businessScope) {
		this.businessScope = businessScope;
	}

	public List<String> getForbidArea() {
		return forbidArea;
	}

	public void setForbidArea(List<String> forbidArea) {
		this.forbidArea = forbidArea;
	}

	public String getCategory() {
		return category;
	}

	public void setCategory(String category) {
		this.category = category;
	}

	public String getProvince() {
		return province;
	}

	public void setProvince(String province) {
		this.province = province;
	}

	public String getCity() {
		return city;
	}

	public void setCity(String city) {
		this.city = city;
	}

	public String getTown() {
		return town;
	}

	public void setTown(String town) {
		this.town = town;
	}

	public String getCredit() {
		return credit;
	}

	public void setCredit(String credit) {
		this.credit = credit;
	}
	
}
